let initState = {
  list: [
      {
          name: '闲人一枚',
          isGuanzhu: false,
          img: '',
          zym: '哈哈哈...',
          msg: [
              { wz: 'left', nr: '你好呀' },
              { wz: 'right', nr: '嗨~你好呀' }
          ]
      },
      {
          name: '小猪佩奇',
          isGuanzhu: true,
          img: '',
          zym: '哈哈哈2222...',
          msg: [
              { wz: 'left', nr: '你吃了吗' },
              { wz: 'right', nr: '我还没吃呢' }
          ]
      }
  ]
}
export default function reducer(prevState = initState, action) {
  let { type, data } = action;
  switch (type) {
      case 'a':

          return {}

      default:
          return prevState
  }
}